<template>
  <div>
    <a target="_blank" href="http://wpa.qq.com/msgrd?v=3&uin=2298928961&site=qq&menu=yes"><img border="0" src="http://wpa.qq.com/pa?p=2:2298928961:51" alt="点击这里给我发消息" title="点击这里给我发消息"/></a>
    <button @click="say">自定义事件</button>
  </div>
</template>

<script setup>
import { ref } from "vue"
const say = ()=>{
  alert("Hello,自定义事件")
}
</script>

<style scoped>

</style>